package com.kmxd.ams.app.common;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.kmxd.ams.client.common.IIdSvc;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * id 服务实现
 *
 * @author nickbi
 */
@Service
@AllArgsConstructor
public class IdSvcImpl implements IIdSvc {
  @Override
  public String arrange() {
    return IdWorker.getIdStr();
  }
}
